package com.jman.front.clients;

import com.jman.front.dto.RegisterFormDTO;
import com.jman.front.dto.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("registerservice")
public interface RegisterClient {
    @PostMapping("/register/register")
    Result register(@RequestBody RegisterFormDTO registerFormDTO);
}
